package vip.kqsy.cloud.blog.server.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import vip.kqsy.cloud.core.web.res.BaseVO;

@EqualsAndHashCode(callSuper = true)
@Data
public class BlogInfoViewVO extends BaseVO {

    @ApiModelProperty(value = "标题", required = true)
    private String title;

    @ApiModelProperty(value = "内容", required = true)
    private String content;

    @ApiModelProperty(value = "发布者昵称", required = true)
    private String nickname;

    @ApiModelProperty(value = "发布者头像")
    private String avatar;

    @ApiModelProperty(value = "浏览数", required = true)
    private Integer viewCount;

    @ApiModelProperty(value = "点赞数", required = true)
    private Integer likeCount;

    @ApiModelProperty(value = "评论数", required = true)
    private Integer commentCount;

    @ApiModelProperty(value = "是否已经点赞过", required = true)
    private Boolean isLiked;

    @ApiModelProperty(value = "是否已经收藏过", required = true)
    private Boolean isCollected;

}
